Jump to content

[SOLVED] Something new to me, what is it?


unsider

Recommended Posts

One thing I've never really payed much attention to, but jut recently started noticing is that some sites are displaying page URL's without the file extension at the end of them. I'm curious what this is called.

 

ie.

 

example.com/forums/index.php?action=post,board=1.0

 

example.com/forums/post/board/1/

 

I'm surprised I never really noticed this, or knew what it was. Other than a clean URL, *shrug*.  So please educate me.

 

Link to comment
https://forums.phpfreaks.com/topic/114792-solved-something-new-to-me-what-is-it/
Share on other sites

Hi unsider,

 

You can use static URLs with URL rewrite/.htaccess combination. This helps in improving SEO. please google around for more info.

 

hmm i dont think it will really help SEO thingy? can you tell us how?

 

because if this is dynamic query string then you will have dynamic URL and google will be confused indexing that page?

 

please correct me if i was wrong

 

 

Hi Juan,

 

let me try...

 

Generally we have URLs like

 

category.php?id=1 //displays details of category with id = 1

category.php?id=2 //displays details of category with id = 2

and so on...

 

1) Google does not like URLs with "?".

2) There is no information about the category itself in the URL so google does not get more information..

 

 

Using Static URLs we can use following URLs for the same purpose..

 

category/1/mobiles.html // this will internally redirect to category.php?id=1

category/2/washing_machines.html // this will internally redirect to category.php?id=2

 

1) There are no "?" so google likes them

2) There is information about category name so google indexes the url higher.

 

hope it is clear...

 

atleast thats my understanding..:) i may be wrong.

Sounds good to me, and google will help as well.

 

Thanks for the thorough explanation. Appreciate it.

 

http://www.webconfs.com/dynamic-urls-vs-static-urls-article-3.php

 

EDIT: you were right, nice article for anyone else who stumbles upon this thread.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.