Customize Wordpress blog urls.. Need help

Discussion in 'Site & Server Administration' started by jeffturner, Aug 21, 2009.

  1. #1
    HI friends am here gain with a problem am facing. I am having a wordpress blog and embedded it to my website. WordPress lists four choices for permalink structure :
    1. default
    2. Date and name
    3. Numeric
    4. Custom.

    now i want to custom my permalinks with post name.aspx for that in custom field i put /%postname%.aspx as i want my blog pages in aspx. I tried to create .htaccess file and put into root dir but now when i check my post it comes out with 404 error and again when i select default option then my blog works properly but i need pretty permalinks as post name.aspx. Please help me in solving this problem.

    thanks in advance
     
    jeffturner, Aug 21, 2009 IP
  2. hostingonweb

    hostingonweb Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hostingonweb, Aug 21, 2009 IP
  3. jeffturner

    jeffturner Peon

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks buddy but i checked that according to this it says paste some xml code in web.cofig file i did that and it says add the following rule to the system.webServer element .. am confused with this system.webserver element where it is? Am not able to solve that.please explain me here.
    Thanks
     
    jeffturner, Aug 21, 2009 IP
  4. jeffturner

    jeffturner Peon

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Need replys friends..
     
    jeffturner, Aug 21, 2009 IP
  5. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #5
    /%category%/%postname%.html and update ur .htaccess file correctly. btw i never try .asp but u can replace with .html
     
    Jalpari, Aug 22, 2009 IP
  6. fbnewtz

    fbnewtz Peon

    Messages:
    160
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Why do you want it to have aspx? This seems a little silly. You might have to setup a filetype in Apache to process aspx files as php files.
     
    fbnewtz, Aug 23, 2009 IP
  7. jeffturner

    jeffturner Peon

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I want it in aspx because my websiye is in aspx, i want my blog urls and webpages of website looks same.
     
    jeffturner, Aug 23, 2009 IP
  8. gary4gar

    gary4gar Peon

    Messages:
    496
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    aspx stands for Active Server Pages Extension. this is used for websites code in ASP.NET.

    whereas wordpress is a php driven site which would have a .php extension. wordpress is flexible enough to allow to you hide the extension but I think you should refrain yourself from changing .php into .aspx
     
    gary4gar, Aug 24, 2009 IP
  9. jeffturner

    jeffturner Peon

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Buddy no doubt wordpress is php driven but you can modify permalinks in wordpress. I mean we can beauty permalinks in wordpress as we need.

    More suggestion please, tell me how to write .htacces file for this and where tosave it in my website root directory or in wordpress root
     
    jeffturner, Aug 24, 2009 IP
  10. jeffturner

    jeffturner Peon

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    no responses.. why guys
     
    jeffturner, Sep 25, 2009 IP
  11. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #11
    Well first of all is mod rewrite enabled ??
     
    Bohra, Sep 25, 2009 IP
  12. glo

    glo Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I wait response from dp members, I want same with ts.
     
    glo, Sep 26, 2009 IP