Re: URL rewrite

Vinay Kannan <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <CANSHHpmZUreNpKPxcttWSa6Hj12W2wgNRKVz87B6ZZUzHNefVA@mail.gmail.com>
Thank You all for your replies!

Actually my question was not for the extensions at all, i think i needed a
complete rewrite.

I think I will do it with the hrefs than to try things with .htaccess.

@Arno - Not really very sure, my preference so far have been to have a .php
extension on all the pages, be it plain .html files with contents or
articles fetching data from the DB using .php, i prefer not to show an
extension at all, aesthetically pleasing and usually doesn't let people
know of the technology used eg : .aspx , .php etc... not sure if it makes a
big difference, but my personal preference is cleanliness. I've seen in the
past one of my old website showed on Google search with the entire URL with
the data, and i know that the data which google showed can only be fetched
from the database, hence the conclusion that they make for a better SEO,
however that was about couple of years back, google tends to change things
more than we anticipate or can think of i guess :)

Thanks,
Vinay

On Thu, Jul 12, 2012 at 1:33 PM, Arno Kuhl <[email protected]> wrote:

> -----Original Message-----
> From: Gavin Chalkley [mailto:[email protected]]
> Sent: 11 July 2012 10:08 PM
> To: 'Vinay Kannan'; [email protected]; [email protected]
> Subject: RE: [PHP-WIN] URL rewrite
>
> Vinay,
> This does make for better SEO
>
> -----Original Message-----
> From: Vinay Kannan [mailto:[email protected]]
> Sent: 11 July 2012 20:04
> To: [email protected]; [email protected]
> Subject: [PHP-WIN] URL rewrite
>
> Hello Experts,
>
> I have a query on URL rewriting.
>
> I have a site, which has categories and products under the categories. the
> url has been re-written to hide the .php part of the pages, the page also
> shows up correctly when we do type in the .php extension.
> this is how a link shows :
>
> eg : localhost/showproducts?category=fantasy&book=A Game of Thrones
> I was thinking of getting the url re-written to localhost/fantasy/A Game of
> Thrones
> I think this shows a cleaner URL and could be better for the SEO too?
> any help is appreciated.
>
> Thanks,
> Vinay
> --
>
>
> Is that right? I thought spaces in a url were to be avoided, replaced with
> dashes or underscores or other sensible delimiter? Personally I think the
> "%20" looks a bit nasty in a url, but does it affect SEO?
>
> I also do url rewriting but have never been too sure about adding the
> ".html" at the end, currently I do add it, but is it really required? The
> original reason I added it was to distinguish article pages from topic
> pages, the topic pages don't have the ".html", though the article pages
> work
> with or without the ".html" extension so it's more for an aesthetic reason
> than anything else. Besides the possible need to distinguish between topic
> and article titles, is there any SEO advantage to adding the ".html"
> extension?
>
> Cheers
> Arno
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.