
lordrobert1
htaccess who know how the write the friendly link
Comments
| DosDawg | 63 days ago![]() |
![]() | ![]() | |
![]() | which version are you using currently of dolphin? 6.1 comes with the htaccess permalink ready and the file should have the mod_rewrite already written there? later DosDawg | ![]() |
![]() | ![]() | ![]() |
| lordrobert1 | 62 days ago![]() |
![]() | ![]() | |
![]() | I have the dolphin 6.1 and I have the apache2 mod_rewrite works becouse I use create the new file .htaccess on the parent directory where I have the my script dolphin. So if I check the all permalink on the admin configuration and there I login to example account so I have truouble with menu like Blog and MyBlog. RewriteRule for the profile is good becouse open Like RewriteEngine on RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] And there I put the line RewriteRule ^([A-Za-z0-9_-]+)/$ blogs.php [QSA,L] RewriteRule ^([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)$ blogs.php?action=show_member_blog&ownerID=$1 [QSA,L] RewriteRule ^([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)/(.+)-([0-9]+)$ blogs.php?action=show_member_post&ownerID=$1&post_id=$2 [QSA,L] RewriteRule ^blogs/(.*)/(.*)$ blogs.php?action=show_member_blog&ownerID=$1 [QSA,L] The blog open okey but inform the non view when I Add Category on the Blog Menu then I see the Create Blog button so I created and this ok but when I go back to menu blog and I want the click the MyBlog then I don't see I think the is a link which friendly link to the MyBlog is like /blogs/entry/Post-caption-pierwszy and this is the standard link blogs.php?action=show_member_post&ownerID=1&post_id=2 How create the RewriteRule. I want the know maybe send me a example own file .htaccess only RewriteRule Thank You | ![]() |
![]() | ![]() | ![]() |
Post a Comment
Please login to post a comment.This Post
lordrobert1 Blog
All Blogs
































