Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: ahmet on January 25, 2013, 01:52:35

Title: change url rewrite rules(solved BUT)
Post by: ahmet on January 25, 2013, 01:52:35
hello,
i dont want elxis to make authomatic urls like category/category/title.html
I dont need categories url..
i would like to have    /title.html directly..
how can i do this..
thanks..
Title: Re: change url rewrite rules
Post by: speck on January 25, 2013, 09:20:32
i think that is impossible to do also because the link of category can be replaced with an important keyword  ;D
example if u have a category where u insert articles in a category called company, is stupid use a link = company.... if the company works in the world of gold jewelry you can use company in the title of category and gold-jewelry as keyword in the link  ;) . the customer get pissed about this??? explain him why you did so, the customer will be happy  ;D and you earn much money in more  :o
Title: Re: change url rewrite rules
Post by: ahmet on January 25, 2013, 17:38:01
thanks,
what if i make category under category and making long tail keyword... too long.. :)
Title: Re: change url rewrite rules
Post by: datahell on January 25, 2013, 19:44:56
Don't use long SEO titles in categories and articles.
The SEO title suggest option is bad on large titles. Make it smaller.
I advise you to always type by yourself the SEO title.

Sample Title: Eat only meat and you will extend your life to at least 200 years!
Automatically generated SEO title: eat-only-meat-and-you-will-extend-your-life-least-200-years
A better human made SEO title: meat-extend-life

On categories use a single word, or at maximum 2 words, for the seo title.
Example of good and short URL: countries/japan/osaka.html

Avoid placing content in more than 2 levels below the site's root.
Too many sub-levels: countries/japan/economy/cities/osaka.html
Title: Re: change url rewrite rules
Post by: ahmet on January 26, 2013, 10:49:09
thanks datahell,
what i really like to do is exclude category link, manually write the hole seo link by myself.
Title: Re: change url rewrite rules
Post by: datahell on January 26, 2013, 12:06:01
You do write the whole SEO link by yourself. The SEO link is the composition of the SEO titles which YOU provide. The way the SEO link is composed can not be changed and if you do so (by modifying Elxis) you will face issues with the routing. The first segment of an Elxis URI is very important in order Elxis router to route the request to the proper component. The Elxis way is the proper and recommended way to compose a URL in order to be easy to understand and also provide structural information. The SEO value of Elxis URLs is very high. If you do what you say you will end up with a messy system and your links will loose all their extra information and value.

An example.
sports/ is very clear to both human and machines that this is a folder (a category in our case) containing other items.
football.html looks like an item listed in the root folder. No one will think that this is a sub-item of the sports category. There is also no way to go back to the sports category by removing the football.html part from it.
sports/football.html On the other hand this URL does inform us that football.html is inside the sports category. If you go to your browser's address bar and remove the football.html part from the URL you will see the whole sports category as you would do with a folder in your computer.
news/sports/football.html More folders (categories) provide even more structural information on the content (a better global view) and make the final item (the article) even more specific.
news/sports/football/greece/athens/olympiakos.html has too many segments and should be avoided. Visitors need to do a lot of clicks to go to the final article and also these links are harder to parse by search engines (except if you really have a good navigation/menu system). Our recommendation is to keep a maximum category/sub-category/article.html structure. Add one more segment only if it is absolutely necessary.
Title: Re: change url rewrite rules
Post by: ahmet on February 05, 2013, 11:27:40
starnge thing with nautius regarding rewrite rule....
www.site.com/category/xx.html is the actual link
when www.site/xx.html    it's the same..
so it means theres a dublication url which google webmaster tools warns you..
pls. see dublicate meta descriptions..
HTML Improvements Last updated Feb 4, 2013

Addressing the following may help your site's user experience and performance.
Meta description    Pages
Duplicate meta descriptions    125
Long meta descriptions    0
Short meta descriptions    32

Title tag    Pages
Missing title tags    0
Duplicate title tags    133
Title: Re: change url rewrite rules
Post by: datahell on February 05, 2013, 12:08:28
You are absolutely wrong!
1. The duplicated URLs do not exist because Elxis never publishes such URLs. You, manually wrote these URLs in the browser, you will not find any duplicated URL in Elxis. You will not find an Elxis item linked in 2 ways. The "dublicated urls" you wrote do not exist. It is just the restoration system that accepts a more loosy format just to reduce db queries. I could provide more info, or inform you what virtual URLs are (because it seems you don't know), but I wont discuss this in public. Just for your information, take a look at joomla's site:

http://www.joomla.org/announcements/5477-joomla-2-5-9-released.html
http://www.joomla.org/announcements/release-news/5477-joomla-2-5-9-released.html

Ohhh! the same thing! You know better than both Elxis and joomla developers? Would you like to show you the same things on other CMSs too?

Take a look at drupal:
http://drupal.org/search/
http://drupal.org/search/user_search
http://drupal.org/search/apachesolr_search

And these wthout any search, if i search I will show you much worst examples on other CMSs.

2. As for the duplicated meta data, it is you the one you should provide meta keywords and description. If you dont provide so what you expect? You could even put the same title in all articles. Would this be Elxis fault too?

Be careful when you post such "discoveries".
Title: Re: change url rewrite rules
Post by: ahmet on February 06, 2013, 16:54:01
hello datahell,

Pls. cool down, i was sure that you would have an answer for that..
Anyway if it had been a fault , we still like you and elxis..
We are all humans and can make mistakes..
:)
Title: Re: change url rewrite rules(SOLVED)
Post by: ahmet on February 23, 2013, 12:14:34
hello,
i dont want elxis to make authomatic urls like www.xxx.com/category/category/title.html
I dont need categories url..
i would like to have  just    www.xxx.com /title.html directly..
how can i do this..
thanks..
I am sure Datahell will be angry  at me...

BUT,  i checked many sites and they dont put category link to their  url ... ( ex. http://voices.yahoo.com)
or some drupal sites ....
and i believe thats the right thing..... 
let me give you an example  i have a huge shop and i want to categorise it
as man, woman, kids
my keyword target is camp boots for example...
and i will put boots under man normally why i need to see man category in my url??
Its very precious url and limited...

acc. to elxis     www.xxx.com/man/camp-boots
acc.  to what i thing should be   www.xxx.com/camp-boots

any other ideas appreciated..
Title: Re: change url rewrite rules(SOLVED BUT)
Post by: wbread on February 23, 2013, 12:33:43
Quote
acc. to elxis     www.xxx.com/man/camp-boots
good
Quote
acc.  to what i thing should be   www.xxx.com/camp-boots

bad idea ;D

should be short but clear

Title: Re: change url rewrite rules(SOLVED BUT)
Post by: ahmet on February 23, 2013, 12:44:36
camp boots is just example..
iam really talking about long tail keywords..


title: 10 top things when you  are under spending time under sun?

so shall we add more categories like   tourism/turkey/bodrum/ 10 top things when you  are under spending time under sun?

I dont think...sorry..
Title: Re: change url rewrite rules(SOLVED BUT)
Post by: wbread on February 23, 2013, 13:26:41
 tourism/turkey/bodrum/
but other than that there are still areas? such as
tourism/Japan/Osaka
If not then there should seriously think about the site structure and avoid subcategories. If is a travel catalog and then it will be more understandable to the user where he was.
Title: Re: change url rewrite rules(solved BUT)
Post by: ahmet on February 24, 2013, 20:41:11
wbread,
believe me its not..
see this website 
check the categories and contents... and check the PR also.. one of the top websites..
http://www.sahibinden.com/listing/emlak-arsa-satilik-bodrumda-satilik-kumsal-plaja-duzayak-300-metre-imarli-arsa-acil-104639542/detail/
Title: Re: change url rewrite rules(solved BUT)
Post by: datahell on February 25, 2013, 08:16:50
The content should be organized in categories. Creating sub-categories of many levels can be a problem but this also depends on how you have structured your menus. So in order your content to be easily accessible it has to be well organized and have a good menu system. Search engines dont have problems finding the content as long as you have enough internal links. Most people, unfortunately, don't add internal links, so the only way an item to be reached is via the menus. Adding internal links with good link title and content is very important.
Title: Re: change url rewrite rules(solved BUT)
Post by: ahmet on February 25, 2013, 17:21:30
i totally agree regarding categorization..
but isnt t better if it doesnt reflect the seo title  of the category to the content seo link?