Guest Posted October 6, 2008 Share Posted October 6, 2008 Where in the page do I add that code? It is html at this point. Link to comment Share on other sites More sharing options...
Guest Posted October 6, 2008 Share Posted October 6, 2008 if the whole of the page is in HTML, take that code, all of it - echo it in the bit where I've said 'code here'. You'll have to add <?php to the top and ?> of the code snippet. Make sure you add some content for the search engines to look at. save the whole lot as index.php (or default.php if that's what your server uses) and delete the html original from the server - as a regular user, you should be seeing the entry page, but as a search engine, you would be seeing your alternative page. Oh, the code needs a spiders.txt file, if your shop is off the main directory, you'll need to change the include(shopdirectory/includes/spider.txt) BrianD Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.