I've implemented a site with a php front page that pulls in news stories from a Wordpress backend through a simple php script.
The reasoning is that it allows me to have a nice front page which is fixed as far as formatting etc is concerned and rather than have to go and edit html every time i want to update the front page with a new bit of news, i just post a new Wordpress story and the index.php simply pulls it in. This also allows colleagues to post things to our front page without having to worry about HTML.
For security purposes i set up my robots.txt to ignore the wpress directory, however i would like Google to index the news items as well, however as wpress is ignored it wont.
So is there a smarter way of letting Google see the news stores without seeing the wpress directory?
I don't want to have www.mydomain.com/wpress to show up in any search results.
Question
TheBlueRaja
Hi All,
I've implemented a site with a php front page that pulls in news stories from a Wordpress backend through a simple php script.
The reasoning is that it allows me to have a nice front page which is fixed as far as formatting etc is concerned and rather than have to go and edit html every time i want to update the front page with a new bit of news, i just post a new Wordpress story and the index.php simply pulls it in. This also allows colleagues to post things to our front page without having to worry about HTML.
For security purposes i set up my robots.txt to ignore the wpress directory, however i would like Google to index the news items as well, however as wpress is ignored it wont.
So is there a smarter way of letting Google see the news stores without seeing the wpress directory?
I don't want to have www.mydomain.com/wpress to show up in any search results.
Thanks
Link to comment
Share on other sites
2 answers to this question
Recommended Posts