I want to know how to shorten URLs. For example
From
http://www.dietpillexpert.co.uk/index.p ... blets.html
To this:
http://www.dietpillexpert.co.uk/4-Capsi ... blets.html
Is this possible? I had a look at link trimmer but couldn't figure out how to use it.
The reason I want to this is so that when my page shows in google results the words in the post show up as well in the URL - this will get me more clicks. I also think it looks neater which encourages surfers to click around.
How can I shorten URLs?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How can I shorten URLs?
HI!
You cannot actually get (without manual interaction) the /archives/ outside of the URL.
What you can go is enable URL rewriting in the s9y global configuration (set it to Apache ErrorHandling for example), and you can change your permalinks from /archives/ to /a/ for example to shorten those URLs.
HTH,
Garvin
You cannot actually get (without manual interaction) the /archives/ outside of the URL.
What you can go is enable URL rewriting in the s9y global configuration (set it to Apache ErrorHandling for example), and you can change your permalinks from /archives/ to /a/ for example to shorten those URLs.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: How can I shorten URLs?
Thanks Gavin, i've done that
But does that mean I now have two pages the same?
http://www.dietpillexpert.co.uk/index.p ... blets.html
http://www.dietpillexpert.co.uk/index.p ... blets.html
I just did a new post and its the same, it seems to making two pages
But does that mean I now have two pages the same?
http://www.dietpillexpert.co.uk/index.p ... blets.html
http://www.dietpillexpert.co.uk/index.p ... blets.html
I just did a new post and its the same, it seems to making two pages
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How can I shorten URLs?
Hi!
Did you change both the permalink path AND the permalink pattern? There are at least two occurences of the "archives" string in the permalink configuration.
Also, as long as you have index.php?/... this means your URL rewriting is not enabled.
Regards,
Garvin
Did you change both the permalink path AND the permalink pattern? There are at least two occurences of the "archives" string in the permalink configuration.
Also, as long as you have index.php?/... this means your URL rewriting is not enabled.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: How can I shorten URLs?
Ok, heres what I did
In Apperance and Options I set URL Rewriting to Use apache errorhandling
In Permalinks I set Permalink Entry URL structure to a/%id%-%title%.html
Path to archives to a and Path to archive to a
It's still making two posts. Heres a test one I just made
http://www.dietpillexpert.co.uk/a/17-Ad ... pills.html
http://www.dietpillexpert.co.uk/archive ... pills.html
In Apperance and Options I set URL Rewriting to Use apache errorhandling
In Permalinks I set Permalink Entry URL structure to a/%id%-%title%.html
Path to archives to a and Path to archive to a
It's still making two posts. Heres a test one I just made
http://www.dietpillexpert.co.uk/a/17-Ad ... pills.html
http://www.dietpillexpert.co.uk/archive ... pills.html
Re: How can I shorten URLs?
I actually now have 3 pages
http://www.dietpillexpert.co.uk/index.p ... pills.html
Its making 3 pages everytime I do a new post now.
Any help on this guys?
http://www.dietpillexpert.co.uk/index.p ... pills.html
Its making 3 pages everytime I do a new post now.
Any help on this guys?
-
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Re: How can I shorten URLs?
S9y dosent "make" any page at all. The content is stored in the db and is accessible with different urls.
Re: How can I shorten URLs?
Ok, thanks, I understand.
Now I have another problem. I maxed out the space on my server when I was trying to upload some pictures, serendipity threw up some errors and wouldn't let me upload any more pics. So I freed up some space on the server and it seemed to be working again.
For some reason now when I go to insert new media in a post the pics aren't showing up. I took a screenshot to show you
http://www.dietpillexpert.co.uk/uploads/screenshot.png
Now I have another problem. I maxed out the space on my server when I was trying to upload some pictures, serendipity threw up some errors and wouldn't let me upload any more pics. So I freed up some space on the server and it seemed to be working again.
For some reason now when I go to insert new media in a post the pics aren't showing up. I took a screenshot to show you
http://www.dietpillexpert.co.uk/uploads/screenshot.png