How i can change this route: http://a.epizy.com/CV/public/ to http://a.epizy.com ? Thanks.
what do you mean?
You need to move your website files from
htdocs/CV/ to simply
htdocs/, then use the rewrite rule Admin posted on this article:
RewriteEngine On RewriteRule (.*) /public/$1 [L]
on a file named
.htaccess inside the htdocs folder.
Redirect 301 /CV/public http://a.epizy.com
No, that won’t work, because he meant to change the website path from the first one to
/ and not to do a redirect.
yes i want to change the first path http://a.epizy.com/CV/public/ to http://a.epizy.com, RewriteEngine On
RewriteRule (.*) /public/$1 [L], it;s not work.
I also said this:
Now i have path http://a.epizy.com/public/
And NOW you need to create the
.htaccess file on the htdocs folder with the following content:
Done, thanks. Now i have path http://a.epizy.com/
Remember to mark this topic as solved!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.