User Tools

Site Tools


profile_url_s

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
profile_url_s [2016/05/21 17:30]
admin
profile_url_s [2016/11/17 12:12] (current)
admin
Line 4: Line 4:
 instead of looking like this ... **yoursite.com/​profile.php?​uid=1** instead of looking like this ... **yoursite.com/​profile.php?​uid=1**
  
-**Note:** This will only work if your host allows mod rewrites.+**Note:** This only works if your host allows mod rewrites ​(the following code is included in the .htaccess file as of Etano 2.2)
  
  Open the .htaccess file located in your main Etano directory and the default profile rewrite code looks like this:  Open the .htaccess file located in your main Etano directory and the default profile rewrite code looks like this:
Line 14: Line 14:
 </​IfModule>​ </​code>​ </​IfModule>​ </​code>​
  
-**Note** - if your script is installed in a subdirectory on your server and the above code doesn'​t seem to work then depending on how your server is configured you might also need to include a RewriteBase statement, like so:+**Note** - if your script is installed in a subdirectory on your server and the above code doesn'​t seem to work then depending on how your server is configured you might also need to include a **RewriteBase** statement, like so:
 >><​code>​RewriteBase /​subdirectory_name >><​code>​RewriteBase /​subdirectory_name
 <​IfModule mod_rewrite.c>​ <​IfModule mod_rewrite.c>​
profile_url_s.txt ยท Last modified: 2016/11/17 12:12 by admin