DarkwaveSurfer

Registered
Jun 6, 2014
2
0
1
cPanel Access Level
Root Administrator
Hi everyone!

I used Screaming Frog to find out my website url structure an it shows that I have 3 urls basically leading to same place. These are:

/http://domain.tld/
/http://www.domain.tld/
/http://domain.tld/index.php?l=HR

I made completely new website and would like to keep SEO from old url's. As soon I redirect I will delete complete old website. I dont have subdomains available to test first.

So how to configure .htaccess to redirect these 3 url's to new index.html?

Also, can I delete old language translation url's (DE, ENG, IT url's) and redirect them with 302 temporary to "under construction page" to keep SEO juice?
I will have translation pages for other langugaes few weeks later.

Also, do I have to delete old website to put new in function or can I just shut down the old one without deleting?

Thanx in advance for patience to read this long post.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

You may want to consult with the support or developers of the script you are using before implementing custom Mod_Rewrite rules. It's possible these rules might break the website's functionality, so it's a good idea to check with them first.

Thank you.
 

DarkwaveSurfer

Registered
Jun 6, 2014
2
0
1
cPanel Access Level
Root Administrator
Hello :)

You may want to consult with the support or developers of the script you are using before implementing custom Mod_Rewrite rules. It's possible these rules might break the website's functionality, so it's a good idea to check with them first.

Thank you.
Thanks for reply.
My plan is delete active (old) web page tomorow. Then make .htaccess redirets of old deleted url's to new one's which I would copy to public_html folder after deletion of old webpage.
Will these two url's automaticly recognize new index.html file or should I redirect them via .htaccess?
http://domain.tld/
http://www.domain.tld/
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Yes, index.html pages will load automatically unless you have modified the default DirectoryIndex priority.

Thank you.