Mobile app version of vmapp.org
Login or Join
Jessie594

: Search engine friendly? index.php/path/to/page Some content management systems have one entrance file e.g. index.php and depending on what comes after in the URL path, the system knows what data

@Jessie594

Posted in: #Path #SearchEngines #Seo

Some content management systems have one entrance file e.g. index.php and depending on what comes after in the URL path, the system knows what data to pull.

My question is if search engines index "index.php" or whether they follow and index all of the contents of "index.php/path/to/page" as well?

Using the same principle, if I have a product page, but that page can bring up various categories via a query string e.g. index.php?page=electronics, index.php?page=toys can search engines reliably index the content of those "pages" if I have, for example, a menu that links to all those?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Jessie594

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

Search engines can index query string URLs (?page=toys) but it is better to make them appear as directory/page. It makes them easier to read.

.htaccess files can help with URL rewriting.
rewrite query strings in urls AND
rewrite query string with htaccess

.htaccess files can also remove the index.php from your URLs.

I recommend both of these actions.

10% popularity Vote Up Vote Down


 

@Lee4591628

You can start reading basics about that on:
www.seomoz.org/beginners-guide-to-seo
and:
static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/en-US//webmasters/docs/search-engine-optimization-starter-guide.pdf
Now, in a straight to the point answer: yes, search engines can index those pages as different content.

Anyway you can make your URLs different (query strings, paths, hashes), display different contents, and provide non-obtusive ways for any robot read your links (using real links instead of JavaScript/Flash, improvin' accessibility), then your are fine.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme