44 | | == When I try to open somebody's profile, I get this page: ''Not Found'' == |
45 | | |
46 | | The problem is that your Apache server is not compiled with rewrite module or you don't have rewrite instructions in your Dolphin's root .htaccess file. These instructions should be as follows: |
47 | | {{{ |
48 | | <IfModule mod_rewrite.c> |
49 | | RewriteEngine on |
50 | | RewriteCond %{REQUEST_FILENAME} -f [OR] |
51 | | RewriteCond %{REQUEST_FILENAME} -d |
52 | | RewriteRule .+ - [L] |
53 | | RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] |
54 | | </IfModule> |
55 | | }}} |
| 44 | == When I try to open a Navigation Menu link or somebody's profile, I get this page: ''Not Found'' == |
| 45 | |
| 46 | The problem is that your Apache server is not compiled with '''mod_rewrite''' module or you don't have rewrite instructions in your Dolphin's root .htaccess file. These instructions should be as follows: |
| 47 | {{{ |
| 48 | <IfModule mod_rewrite.c> |
| 49 | RewriteEngine on |
| 50 | |
| 51 | RewriteRule ^articles/{0,1}$ articles.php [QSA,L] |
| 52 | RewriteRule ^articles/entry/([^/.]+)/{0,1}$ articles.php?action=viewarticle&articleUri=$1 [QSA,L] |
| 53 | RewriteRule ^articles/entry/{0,1}$ articles.php?action=viewarticle&articleUri=$1 [QSA,L] |
| 54 | RewriteRule ^articles/category/([^/.]+)/{0,1}$ articles.php?action=viewcategory&articleCatUri=$1 [QSA,L] |
| 55 | |
| 56 | RewriteRule ^news/{0,1}$ news.php [QSA,L] |
| 57 | RewriteRule ^news/([^/.]+)/{0,1}$ news.php?newsUri=$1 [QSA,L] |
| 58 | |
| 59 | RewriteRule ^blogs/{0,1}$ blogs.php [QSA,L] |
| 60 | RewriteRule ^blogs/all/([0-9]+)/([0-9]+)/{0,1}$ blogs.php?page=$2&per_page=$1 [QSA,L] |
| 61 | RewriteRule ^blogs/top/{0,1}$ blogs.php?action=top_blogs [QSA,L] |
| 62 | RewriteRule ^blogs/top/([0-9]+)/([0-9]+)/{0,1}$ blogs.php?action=top_blogs&page=$2&per_page=$1 [QSA,L] |
| 63 | RewriteRule ^blogs/top_posts/{0,1}$ blogs.php?action=top_posts [QSA,L] |
| 64 | RewriteRule ^blogs/tag/([^/.]+)/{0,1}$ blogs.php?action=search_by_tag&tagKey=$1 [QSA,L] |
| 65 | RewriteRule ^blogs/tag/{0,1}$ blogs.php?action=search_by_tag&tagKey= [QSA,L] |
| 66 | RewriteRule ^blogs/posts/([^/.]+)/tag/([^/.]+)/{0,1}$ blogs.php?action=search_by_tag&tagKey=$2&ownerName=$1 [QSA,L] |
| 67 | RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/{0,1}$ blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2 [QSA,L] |
| 68 | RewriteRule ^blogs/entry/([^/.]+)/{0,1}$ blogs.php?action=show_member_post&postUri=$1 [QSA,L] |
| 69 | RewriteRule ^blogs/entry/{0,1}$ blogs.php?action=show_member_post&postUri= [QSA,L] |
| 70 | RewriteRule ^blogs/posts/([^/.]+)/{0,1}$ blogs.php?action=show_member_blog&ownerName=$1 [QSA,L] |
| 71 | RewriteRule ^blogs/posts/{0,1}$ blogs.php?action=show_member_blog&ownerName= [QSA,L] |
| 72 | RewriteRule ^blogs/posts/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$ blogs.php?action=show_member_blog&ownerName=$1&page=$3&per_page=$2 [QSA,L] |
| 73 | RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$ blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2&page=$4&per_page=$3 [QSA,L] |
| 74 | |
| 75 | RewriteRule ^events/{0,1}$ events.php?show_events=all&action=show [QSA,L] |
| 76 | RewriteRule ^events/all/([0-9]+)/([0-9]+)/{0,1}$ events.php?show_events=all&action=show&page=$2&per_page=$1 [QSA,L] |
| 77 | RewriteRule ^events/part/{0,1}$ events.php?show_events=all&action=show [QSA,L] |
| 78 | RewriteRule ^events/search/{0,1}$ events.php?action=search [QSA,L] |
| 79 | RewriteRule ^events/search/([^/.]+)/{0,1}$ events.php?action=search_by_tag&tagKey=$1 [QSA,L] |
| 80 | RewriteRule ^events/my/{0,1}$ events.php?action=show&show_events=my [QSA,L] |
| 81 | RewriteRule ^events/new/{0,1}$ events.php?action=new [QSA,L] |
| 82 | RewriteRule ^events/entry/([^/.]+)/{0,1}$ events.php?action=show_info&eventUri=$1 [QSA,L] |
| 83 | RewriteRule ^events/part/([^/.]+)/{0,1}$ events.php?action=show_part&eventUri=$1 [QSA,L] |
| 84 | |
| 85 | RewriteRule ^ads/{0,1}$ classifieds.php?Browse=1 [QSA,L] |
| 86 | RewriteRule ^ads/search/{0,1}$ classifieds.php?SearchForm=1 [QSA,L] |
| 87 | RewriteRule ^ads/my/{0,1}$ classifiedsmy.php?MyAds=1 [QSA,L] |
| 88 | RewriteRule ^ads/new/{0,1}$ classifiedsmy.php?PostAd=1 [QSA,L] |
| 89 | RewriteRule ^ads/cat/([^/.]+)/{0,1}$ classifieds.php?catUri=$1 [QSA,L] |
| 90 | RewriteRule ^ads/all/cat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$ classifieds.php?catUri=$3&page=$2&per_page=$1 [QSA,L] |
| 91 | RewriteRule ^ads/subcat/([^/.]+)/{0,1}$ classifieds.php?scatUri=$1 [QSA,L] |
| 92 | RewriteRule ^ads/all/subcat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$ classifieds.php?scatUri=$3&page=$2&per_page=$1 [QSA,L] |
| 93 | RewriteRule ^ads/entry/([^/.]+)/{0,1}$ classifieds.php?entryUri=$1 [QSA,L] |
| 94 | RewriteRule ^ads/tag/([^/.]+)/{0,1}$ classifieds_tags.php?tag=$1 [QSA,L] |
| 95 | |
| 96 | RewriteRule ^photo/all/([0-9]+)/([0-9]+)/{0,1}$ browsePhoto.php?page=$2&per_page=$1 [QSA,L] |
| 97 | RewriteRule ^photo/gallery_top/{0,1}$ browsePhoto.php?rate=top [QSA,L] |
| 98 | RewriteRule ^photo/gallery_top/([0-9]+)/([0-9]+)/{0,1}$ browsePhoto.php?rate=top&page=$2&per_page=$1 [QSA,L] |
| 99 | RewriteRule ^photo/gallery_top/([0-9]+)/([0-9]+)/{0,1}$ browsePhoto.php?rate=top&page=$2&per_page=$1 [QSA,L] |
| 100 | RewriteRule ^photo/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$ browsePhoto.php?tag=$1&page=$3&per_page=$2 [QSA,L] |
| 101 | RewriteRule ^photo/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/$ browsePhoto.php?tag=$1&page=$3&per_page=$2 [QSA,L] |
| 102 | RewriteRule ^photo/gallery_tag/([^/.]+)/{0,1}$ browsePhoto.php?tag=$1 [QSA,L] |
| 103 | RewriteRule ^photo/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)$ browsePhoto.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] |
| 104 | RewriteRule ^photo/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)/$ browsePhoto.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] |
| 105 | RewriteRule ^photo/gallery/all/([^/.]+)/{0,1}$ browsePhoto.php?ownerName=$1 [QSA,L] |
| 106 | RewriteRule ^photo/gallery/([^/.]+)/{0,1}$ viewPhoto.php?fileUri=$1 [QSA,L] |
| 107 | RewriteRule ^photo/gallery/{0,1}$ viewPhoto.php?fileUri=$1 [QSA,L] |
| 108 | |
| 109 | RewriteRule ^music/all/([0-9]+)/([0-9]+)/{0,1}$ browseMusic.php?page=$2&per_page=$1 [QSA,L] |
| 110 | RewriteRule ^music/gallery_top/{0,1}$ browseMusic.php?rate=top [QSA,L] |
| 111 | RewriteRule ^music/gallery_top/([0-9]+)/([0-9]+)/{0,1}$ browseMusic.php?rate=top&page=$2&per_page=$1 [QSA,L] |
| 112 | RewriteRule ^music/gallery_top/([0-9]+)/([0-9]+)/{0,1}$ browseMusic.php?rate=top&page=$2&per_page=$1 [QSA,L] |
| 113 | RewriteRule ^music/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$ browseMusic.php?tag=$1&page=$3&per_page=$2 [QSA,L] |
| 114 | RewriteRule ^music/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/$ browseMusic.php?tag=$1&page=$3&per_page=$2 [QSA,L] |
| 115 | RewriteRule ^music/gallery_tag/([^/.]+)/{0,1}$ browseMusic.php?tag=$1 [QSA,L] |
| 116 | RewriteRule ^music/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)$ browseMusic.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] |
| 117 | RewriteRule ^music/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)/$ browseMusic.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] |
| 118 | RewriteRule ^music/gallery/all/([^/.]+)/{0,1}$ browseMusic.php?ownerName=$1 [QSA,L] |
| 119 | RewriteRule ^music/gallery/([^/.]+)/{0,1}$ viewMusic.php?fileUri=$1 [QSA,L] |
| 120 | RewriteRule ^music/gallery/{0,1}$ viewMusic.php?fileUri=$1 [QSA,L] |
| 121 | |
| 122 | RewriteRule ^video/all/([0-9]+)/([0-9]+)/{0,1}$ browseVideo.php?page=$2&per_page=$1 [QSA,L] |
| 123 | RewriteRule ^video/gallery_top/{0,1}$ browseVideo.php?rate=top [QSA,L] |
| 124 | RewriteRule ^video/gallery_top/([0-9]+)/([0-9]+)/{0,1}$ browseVideo.php?rate=top&page=$2&per_page=$1 [QSA,L] |
| 125 | RewriteRule ^video/gallery_top/([0-9]+)/([0-9]+)/{0,1}$ browseVideo.php?rate=top&page=$2&per_page=$1 [QSA,L] |
| 126 | RewriteRule ^video/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$ browseVideo.php?tag=$1&page=$3&per_page=$2 [QSA,L] |
| 127 | RewriteRule ^video/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/$ browseVideo.php?tag=$1&page=$3&per_page=$2 [QSA,L] |
| 128 | RewriteRule ^video/gallery_tag/([^/.]+)/{0,1}$ browseVideo.php?tag=$1 [QSA,L] |
| 129 | RewriteRule ^video/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)$ browseVideo.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] |
| 130 | RewriteRule ^video/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)/$ browseVideo.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] |
| 131 | RewriteRule ^video/gallery/all/([^/.]+)/{0,1}$ browseVideo.php?ownerName=$1 [QSA,L] |
| 132 | RewriteRule ^video/gallery/([^/.]+)/{0,1}$ viewVideo.php?fileUri=$1 [QSA,L] |
| 133 | RewriteRule ^video/gallery/{0,1}$ viewVideo.php?fileUri=$1 [QSA,L] |
| 134 | |
| 135 | RewriteRule ^groups/all/{0,1}$ grp.php [QSA,L] |
| 136 | RewriteRule ^groups/entry/([^/.]+)/{0,1}$ grp.php?action=group&groupUri=$1 [QSA,L] |
| 137 | RewriteRule ^groups/category/([^/.]+)/{0,1}$ grp.php?action=categ&categUri=$1 [QSA,L] |
| 138 | RewriteRule ^groups/keyword/([^/.]+)/{0,1}$ grp.php?action=categ&keyword=$1 [QSA,L] |
| 139 | |
| 140 | RewriteRule ^search/tag/([^/.]+)/{0,1}$ search.php?Tags=$1 [QSA,L] |
| 141 | |
| 142 | RewriteRule ^New\sPage$ viewPage.php?ID=New+Page [QSA,L] |
| 143 | |
| 144 | RewriteCond %{REQUEST_FILENAME} -f [OR] |
| 145 | RewriteCond %{REQUEST_FILENAME} -d |
| 146 | RewriteRule .+ - [L] |
| 147 | RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] |
| 148 | |
| 149 | </IfModule> |
| 150 | }}} |