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.

how to restore database?

Discussion in 'WordPress' started by aries_6484, Mar 17, 2009.

  1. #1
    i have unistalled and re-installed wordpress on my blog and restored the database in it.but after re-storing it i am not able to access the sub-domains (posts) in it.how to restore those sub domains or sub urls?
    SEMrush
     
    aries_6484, Mar 17, 2009 IP
    SEMrush
  2. Big0ne

    Big0ne Well-Known Member

    Messages:
    2,614
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    165
    #2
    This has nothing to do with database but mostly with .htaccess
     
    Big0ne, Mar 18, 2009 IP
  3. aries_6484

    aries_6484 Active Member

    Messages:
    319
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    how? can you tell?i don't have much knowledge about wordpress :)
     
    aries_6484, Mar 18, 2009 IP
  4. Mr Goldberg

    Mr Goldberg Banned

    Messages:
    651
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    First of all,if you are able to access your website's frontend and backend,then there is no problem at the database.
    The problem is in your htaccess and the rewrite rule inside it..

    Just follow these steps and you will get the issue solved ;

    Switch off the PERMALINKS on the blog.

    REFRESH the site.

    Check site frontend and see,if you are able to access your articles. It will be with URLS like this http://example.com/?p=n

    Again activate the PERMALINK and it will ask you to update your htaccess,and that too it will display in the bottom,what you need to update. Just copy and paste it on your .htaccess file at your root of the site and save the file.

    Refresh

    Check site again. You will get the SEF URLs again.



    GOOD LUCK :)
     
    Mr Goldberg, Mar 18, 2009 IP
  5. aries_6484

    aries_6484 Active Member

    Messages:
    319
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #5

    thanks i followed your steps but it did not ask me to update .htaccess.Is it ok?whether it asks or not i have to update .htaccess?:confused:
     
    aries_6484, Mar 18, 2009 IP
  6. Big0ne

    Big0ne Well-Known Member

    Messages:
    2,614
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    165
    #6
    You will need to create .htaccess manually in your root folder. Make sure you chmod to 777 before you update permalinks. Then later on change it back to 644.
     
    Big0ne, Mar 18, 2009 IP
  7. Mr Goldberg

    Mr Goldberg Banned

    Messages:
    651
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No worries..
    Its fine...
    YOU GOT IT! Great to know,it helped!! :)
     
    Mr Goldberg, Mar 18, 2009 IP