Jump to content

I need Start page in root but shop in different directory


Recommended Posts

Hi,

I have prestashop running in a separate directory, and an 'Under construction' (index.html) page in the root folder whilst working on it.

If I remove the index page in the root folder , I just get the list of file page, not the home page of the shop.

How do I get the front of the site to open the shop directly? www.ideal-boilers.com

 

I can do it by a server forwarding, ie www.ideal-boilers.com/shop to the root

but I understand google doesnt like it and reduces site rank.

Is it done by the editing the root .htaccess file, which is blank at the moment?, the subdirectory prestashop htaccess is as generated.

Also, should the robots.txt file generated by PS be in the root folder and not the shop folder

Link to comment
Share on other sites

  • 2 weeks later...

There are several ways to accomplish this first would be to just move everthing to the root folder and rename index.php to index1.php and then a random browse want pull your site up while it is under constuction.

 

Second would be to create an intro banner and have that forward to the actual shop in the sub folder with a meta refresh.

 

<head/>

<title> my shop<title/>

<meta http-equiv="Refresh" content="5; url=shop/index.php">

</head>

 

 

This is for a 5 second delay and if the shop was in a folder called shop and would be placed in the head section..

This would probably work without actually naming the index.php and just having shop/ as a browser looks for the index page.

Hope this helps

Link to comment
Share on other sites

  • 2 weeks later...

Thank you for your kind reply, I have used meta refresh of 20-30 seconds on 'splash' pages in other sites as well as an 'enter site' button, When this time is reduced, I noticed a considerable drop in SEO site ranking. I would be interested to hear if anyone else has encountered this?

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...