How do I create an .htaccess file?

Hi all;

We need to create an .htaccess file. We have some urls that have powerful organic search karma that we had to change to collections because of the 100 static page limit. We need to point the old url to the new url.

According to this, it looks like this cannot be done. Please tell me there is a way to do this somehow.

thanks - dave

1 Like

There is no access to any web server config files. You can implement redirects from within the project settings.

you can create 301 redirects with a wildcard. Here is how:

Hope this helps :slight_smile:

Hi!

How can we redirect non www to www. without HT access?

Thank you :slight_smile:

In the dashboard, you can set your www domain as the “default domain” and we will add that redirect for you: Set a default domain | Webflow University

1 Like

Great thanks! that was too easy!

Bonjour, mais dans le cas ou le site n’est pas hébergé chez webflow ?

We have process of exporting Webflow to upload to Github.

I used redirects via Webflow Project settings > Hosting > 301 redirects

but during the export redirects will not take effect on our production site on Github.

Should i edit the .htaccess directly?

Since when has Github supported a .htaccess file for GH Pages?

How to redirect from subdomains, please?
en.mydomain.com/index.html → www.mydomain.com/en/index.html?

Thank you!

You can redirect ALL traffic from domainA to domainB by adding both to your Webflow site, and setting domainB as the “default domain.”

1 Like