domain.com/page/ instead of /page.php in address bar. how?

Discussion in 'Search Engine Optimization' started by seregap, Sep 1, 2008.

  1. #1
    Could anyone please advice me how to make address bar show ../page/ istead of ../page.php
    thank you.
     
    seregap, Sep 1, 2008 IP
  2. T_Media

    T_Media Peon

    Messages:
    691
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You're in the wrong part of the forum.

    page.php is currently your file name. To get /page/ you will have to create a folder within your public folder called /page/ then move page.php into that directory and rename it to index.php

    *If you're using a content management system like wordpress or Joomla I would not recommend moving things around and renaming things as it could break the way your website functions.

    In fact if you are completely unsure you should seek face to face advice from someone who's knows what they are doing.
     
    T_Media, Sep 1, 2008 IP
  3. Kneoteric_eSolutions

    Kneoteric_eSolutions Banned

    Messages:
    382
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well what you actually need to do is URL rewriting and having done that you would have to make certain changes to your htaccess file and that should resolve it.
     
    Kneoteric_eSolutions, Sep 1, 2008 IP
  4. T_Media

    T_Media Peon

    Messages:
    691
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This is also another possibility.
     
    T_Media, Sep 1, 2008 IP
  5. seregap

    seregap Active Member

    Messages:
    276
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Thank you both.

    T Media,
    i know about directories and index pages. Kneoteric_eSolutions described exactly what i was thinking about.

    Kneoteric_eSolutions,
    is this a lot of code? have you got an example?
     
    seregap, Sep 1, 2008 IP
  6. T_Media

    T_Media Peon

    Messages:
    691
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Sorry for insulting your intelligence.
     
    T_Media, Sep 1, 2008 IP