Wordpress url not including category on main page -


i new wordpress trying figure out cannot , asking guys. please if know.

i have issues url formation in wordpress. want show articles' category name in url, using permlinks -> custom structure /%category%/%postname%.htm pasted code given wp in .htaccess file. articles use http://mysite/category1/article1.htm url.

but on index.php links inside article shows url ashttp://mysite/article2.htm , hence 404. using ><a href="article2.htm">article2</a> inside post. if open http://mysite/category1/article1.htm above link show http://mysite/category2/article2.htm correct url.

can plese me figure out correct way? using above configuration, works fine links when open individual posts main index.php not include category name. note, urls in recent posts show correct url.

if links hardcoded inside article itself, there's nothing inside wordpress php or settings change. need edit post content , update html link urls using new permalink structure, within posts and/or pages tab.

you can try plugin redirection redirect old post permalinks new (correct) permalink format.

http://wordpress.org/plugins/redirection/


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -