HomeUnityBlogs
 
 
lordrobert1

htaccess who know how the write the friendly link

how the wirte the friendly link on the htaccess to dolphin 6.1 becuse I use new version but I don't know how create rewrite rule. Can help me or send me the some htaccess email or this community inbox
Thank You
bad
0
good
 
 

Comments

DosDawg
DosDawg 63 days agocomment permalink
 
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
 
bad
0
good
 
 
lordrobert1
lordrobert1 62 days agocomment permalink
 
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
 
bad
0
good
 
 
lordrobert1
lordrobert1 61 days agocomment permalink
 
okey I resolve the problem thanks
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
lordrobert1 Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.414214134216