darkvale Posted August 14, 2008 Share Posted August 14, 2008 How do i make prestahop open up a different page, For example, when people go to http:///www.mysite.co.uk i actually want them to see www.mysite.co.uk/products pagethanks Link to comment Share on other sites More sharing options...
jtyana Posted August 14, 2008 Share Posted August 14, 2008 This is done in your htaccess fileGoogle for 301 redirect Link to comment Share on other sites More sharing options...
darkvale Posted August 14, 2008 Author Share Posted August 14, 2008 Hi thanks for that ive tried lots of things like google has mentioned but no luck could someone do the code here for me please for me .htaccess fileit reads atm# URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]# Catch 404 errorsErrorDocument 404 /404.phpthe site for eg is www. mysite.co.uk and i want www.mysite.co.uk/products.php to loadthanks Link to comment Share on other sites More sharing options...
ejectcore Posted August 14, 2008 Share Posted August 14, 2008 Why would you want to do this :roll:Is your store not located in the root :question: Link to comment Share on other sites More sharing options...
darkvale Posted August 14, 2008 Author Share Posted August 14, 2008 The reason why i want to do this is because, my home page doesn't have the products i am selling on it its full on text on the home screeni would like the customer to be places into a category of my choice you see.I am very new to php and i suck really bad, i cannot get featured products to work, so thats not helping either, all im trying to say really is i would like some nice shots of my products on the front page or a redirect to show my customers my items.thanksa confused php noobdark Link to comment Share on other sites More sharing options...
ejectcore Posted August 14, 2008 Share Posted August 14, 2008 Really you should not be redirecting it's bad for Search engines :roll: I will get your featured products to work send over the FTP details & Backoffice login access Link to comment Share on other sites More sharing options...
darkvale Posted August 14, 2008 Author Share Posted August 14, 2008 Oh wow, thankyou so much i will send that to you now.thanks Link to comment Share on other sites More sharing options...
jtyana Posted August 15, 2008 Share Posted August 15, 2008 Really you should not be redirecting it's bad for Search engines amw, what about a 301 permanent redirect. Is that not search engine friendly?There's also the canonical issues of www versus no www, that needs a 301 permanent redirect too to avoid duplicate content Link to comment Share on other sites More sharing options...
Recommended Posts