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
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
/%category%/%postname%.html and update ur .htaccess file correctly. btw i never try .asp but u can replace with .html
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.
I want it in aspx because my websiye is in aspx, i want my blog urls and webpages of website looks same.
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
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