Welcome to the IMTalk - Internet Marketing & SEO Forum.
  • Login:
+ Reply to Thread
Results 1 to 7 of 7

Thread: URL Re-Writing?

  1. #1
    Johnsander is offline Banned Johnsander is on a distinguished road
    Join Date
    May 2011
    Posts
    96
    Thanks Given
    0
    Thanked 3 Times in 3 Posts

    URL Re-Writing?

    Which type of URLs are static and Dynamic. Plz explain?

  2. #2
    wink0r's Avatar
    wink0r is offline Moderator wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold
    Join Date
    Oct 2010
    Location
    East Coast, USA
    Posts
    2,183
    Thanks Given
    941
    Thanked 651 Times in 491 Posts
    If the file extension is .htm, .html, or .xhtml it is probably static content. There are some methods to pull dynamic content even with these extensions, but it is less common.

    If the file extension is .php, .asp, or .shtml there is probably some dynamic content on the page. With .php and .asp the page that the browser renders may not exist as such on the server. There may just be a template for the page and the content kept in a database. When the server receives a request for the page the parser pulls the necessary data from the database, assembles it into an html page and feeds it to the server.

  3. #3
    Trek is offline IM & SEO Quiet One Trek is on a distinguished road
    Join Date
    Jul 2011
    Posts
    20
    Thanks Given
    1
    Thanked 0 Times in 0 Posts
    wink0r said it pretty well and would have to agree.

    To hit on the "re-writing" portion of the thread topic, it is possible to re-write your site's URL's through things like .htaccess files to make your site, for example, either display the .php extension, or have it removed and render that to the browser...this is a bit more complex, but just for knowledge sake it's good to know what can be done.

  4. #4
    Johnsander is offline Banned Johnsander is on a distinguished road
    Join Date
    May 2011
    Posts
    96
    Thanks Given
    0
    Thanked 3 Times in 3 Posts
    Quote Originally Posted by wink0r View Post
    If the file extension is .htm, .html, or .xhtml it is probably static content. There are some methods to pull dynamic content even with these extensions, but it is less common.

    If the file extension is .php, .asp, or .shtml there is probably some dynamic content on the page. With .php and .asp the page that the browser renders may not exist as such on the server. There may just be a template for the page and the content kept in a database. When the server receives a request for the page the parser pulls the necessary data from the database, assembles it into an html page and feeds it to the server.
    A URL that has not any of the options you mentioned for the static and dynhttp://www.kooldesignmaker.com/ecommerce-website-development then?

  5. #5
    wink0r's Avatar
    wink0r is offline Moderator wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold
    Join Date
    Oct 2010
    Location
    East Coast, USA
    Posts
    2,183
    Thanks Given
    941
    Thanked 651 Times in 491 Posts
    The ecommerce-website-development is a sub-directory. A server will look for a default page to serve with a url like this, in this case probably index.php. A look at the code shows a call to a .php page so the page is definitely dynamic.

    Part of the set-up of the server is a default file list. If no default file is found the server will return a listing of all the files in the directory.

  6. #6
    summerwilkins is offline IM & SEO Weak Jaw summerwilkins is on a distinguished road
    Join Date
    Jun 2011
    Posts
    229
    Thanks Given
    0
    Thanked 7 Times in 5 Posts
    So it means you could easily distinguished whether if the URL is static or dynamic just by seeing its file extension?

  7. #7
    wink0r's Avatar
    wink0r is offline Moderator wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold wink0r is a splendid one to behold
    Join Date
    Oct 2010
    Location
    East Coast, USA
    Posts
    2,183
    Thanks Given
    941
    Thanked 651 Times in 491 Posts
    Not necessarily easily. A .php file extension would usually indicate a dynamic page, but PHP can pull data from other extensions so the data file may have an extension that would normally be associated with static pages. There can also be rewrite rules so that an .html extension is rewritten to .php and contains dynamic content. Files with a .php or .asp extension would usually indicate dynamic content, but other file extensions don't necessarily exclude dynamic content.


 

Similar Threads

  1. Affordable Article Writing Service
    By gedet in forum Services
    Replies: 4
    Last Post: 09-05-2011, 05:23 PM
  2. Sweet Article Writing Shortcut
    By perada in forum Link Building - Articles & Press Releases
    Replies: 2
    Last Post: 05-06-2011, 06:16 AM
  3. Content Writing
    By tazz123 in forum Services
    Replies: 1
    Last Post: 03-25-2011, 04:23 PM
  4. Best SEO writing tips
    By seogirl10 in forum On-Page SEO & Content Creation
    Replies: 2
    Last Post: 08-11-2010, 03:03 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts