Jump to content

PHP generated pages and rewrites in .htaccess


jwhite68

Recommended Posts

My website has been written in PHP, and stores information in MySQL.  Objects are displayed on their own pages, with a multi-level url, made up of various PHP parameters.

 

eg. ?objid=1&mode=new&type=red

 

I have a rewrite rule in the .htaccess file, which translates the .php to a .html file - and this works successfully.  However, I am finding that these .html files are not being indexed by Google or other search engines.

 

The reason I put these rewrites in, was to create a simpler reference - eg object1.html, therefore increasing the chances of the page being indexed.

 

Does anyone have any advice / tips of what I can check - or can confirm that this approach does actually work with search engines?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.