1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Solve This Issue Please

Discussion in 'PHP' started by xtra-person-11, Apr 29, 2015.

  1. #1
    My Site is www(dot)babynamessearch (dot) com but when i am trying to open it its showing > index.php?module=home end of the (DOT) com. I want to remove it permenantly and also the solution should be 100% ethical and SEO friendly. Also all the internal pages is also coming with> index.php?module=home I also want to remove it from the internal pages.

    Thanks in advance
     
    xtra-person-11, Apr 29, 2015 IP
  2. rainborick

    rainborick Well-Known Member

    Messages:
    424
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #2
    The URL structure is dictated by whatever Content Management System (CMS) you're using to operate your website. Changing it could be as easy as finding a plug-in or add-on. Check the support area of the software vendor's website. Otherwise, modifying the software itself might not be terribly difficult if you can program in PHP, but it's not an issue that can be solved with some suggestions in an online forum.
     
    rainborick, Apr 29, 2015 IP
  3. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #3
    It looks like all pages are hardcoded, so if you want to change the module=<pagename> to <pagename>.html you should use htaccess and rewrite all your html pages..

    Oh and for SEO sake, i don't realy think its a real big difference if the url is with module=<pagename> or <pagename>.html but the keywords, description and title and ofcource the html part of the page.
     
    EricBruggema, Apr 29, 2015 IP
  4. xtra-person-11

    xtra-person-11 Active Member

    Messages:
    402
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Thanks for your kind information.
    Can you please tell me how to rewrite htaccess for my pages?
     
    xtra-person-11, Apr 30, 2015 IP
  5. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #5
    
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteCond %{REQUEST_FILENAME} !-d  
    
    RewriteRule ^(.*).html$ index.php?module=$1&%{QUERY_STRING}  [L,QSA]
    
    Code (markup):
    will use index.php for every page that's ending with .html

    so hello.html will be index.php?module=hello
     
    EricBruggema, Apr 30, 2015 IP