Jump to content

Rewrite Url For Index Not Working


yog_sothoth

Recommended Posts

Hello, please anybody can help me:

 

I want to change just the home url of my website from www.mywebsite.com/catalogo/ to www.mywebsite.com/catalogo/some-text-here

I have tried in back office Preferences > SEO & URLs > index > modify 

Filled with "some-text-here" in field "Rewrite url", but nothing happens.

 

Could anybody help???

 

Thanks in advance.

Link to comment
Share on other sites

Hi Alphaloc, i'm afraid that this will change the root folder instalation, i have tested and as i expected didn't work.

 

What i need to do is simply add some text at the end of the home url like here www.mywebsite.com/catalogo/some-text-here here but i dont want to touch the root folder nor move any files from its original location.

 

i was thinking to do it by touching the .htaccess file, but i'm not an expert.

 

maybe touching this section:

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]

try to not just disappear the "index.php" but also add "some-text" after the home url, and need that it just happens in home page!!!!

 

Weird i know, but need it for SEO tests.

 

Please help!

Edited by yog_sothoth (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...