All Questions
5 questions
2
votes
1
answer
2k
views
Removing slash from directory URL
I need to somehow remove the last slash in my directory URLs. For example, instead of example.com/projects/, I'd like to see example.com/projects. I have been trying many solutions with no luck so far....
3
votes
2
answers
578
views
Writing clean urls with .htaccess
Update - Alright thanks everyone for your tests, it really helped. The code is good. My problem was not having absolute "/" links. (Due to moving from public_html folder).
Only 2 concerns i have now. ...
1
vote
1
answer
2k
views
What is the htaccess code for a clean URL for a user profile page?
I have tried code given on under topic clean URLs using .htaccess, but it is nor working on my website.
Actually I am getting static content, but not getting parameters (dynamic content.) My ....
1
vote
5
answers
25k
views
Remove folder name from rewritten URLs
Consider this URL:
http://example.com/gallery/20141111-some-title
In this URL I want to hide gallery/:
http://example.com/20141111-some-title
How can I achieve this using mod_rewrite?
I used ...
1
vote
1
answer
2k
views
Using RewriteBase in .htaccess to make links pretty
I'm working on a project right now and I'm trying to make the links pretty.
We have urls like this:
http://subdomain.domain.com/DynamicCountry/DynamicName/file.php
What I'm trying to do is set the ...