CuteNews

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [HACK] Mod Rewrite/ Search Engine Friendly urls, SEO
FI-DD
post Apr 20 2006, 09:10 AM
Post #1


Advanced Member
***

Group: Support
Posts: 1,549
Joined: 25-February 05
From: Germany
Member No.: 2,775



Name: Mod Rewrite
Author: FI-DD
CuteNews Compatibility: 1.3.6 - * (no incompatibility reported yet)
Description: The following hack is my approach to create search engine friendly urls using mod_rewrite.
The big advantage of my code is its very easy and fast way of installing it.
Compared to other solutions which needed editing of lots of code you can install/uninstall my hack in less than a minute.
V1: The hack will produce urls like path_to_cute/post/8273645283-2.html (full story link) or path_to_cute/postpage/3.html
V2: For example: "This is my news title" will show as yourdomain.com/this-is-my-news-title.html
Requirements: Your server must support mod_rewrite and .htaccess files to get this working.
Demo: http://www.weirdnews.co.nr
Discussion Topic: here
Download: Download page

When you go to your news page for the first time the script should create the .htaccess file and change the look of the urls as explained above.

This post has been edited by FUNimations: Aug 30 2008, 08:42 PM


--------------------
Cutenews + MySQL

My hacks:
Calendar
Advanced Pagination
Search Pagination
Live Search
Mod_rewrite/Search engine friendly urls
Comment preview hack
Upload files hack
Spam protection with image confirmation code (captcha)
Advanced images/thumbnails hack
Newsletter hack
News preview hack
Quick tags hack
Unarchive hack for CN 1.3.6
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 24th May 2013 - 10:14 PM