Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 03-16-2009, 07:58 PM   #1
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Arrow .htaccess file "SHOULD HAVE" - "BUT DON'T KNOW HOW" :)

The site: | mylink2.com

The problem:
Converted this domain which was a website link directory to a wordpress site as the website that was loaded to the domain developed an issue that wouldn't allow people to list their sites. To fix it I was quoted $500 and I don't have that kind of money *NZD $1,000

I had found, I thought, a good wordpress theme that was for a link directory, but it turns out it is not a wordpress theme so it was suggested to me by a kind Warrior that I look at using a plugin. I found a couple and decided on this one: Wordpress ODLinks Plugin | Forgani

These are some of his instructions:

Go to create and modify your Categories and Sub Categories under “ODLINKS Structure”
You will need to make the Smarty cache folders writable (chmod 777) :

./odlinks/includes/Smarty/cache
./odlinks/includes/Smarty/templates_c
I have done this
Create some child category. It is not possible to post to the parent category.
I have created one called 'odlinks'
Why the main site gives me the 404 or Not Found error message or I cannot see the “Submitt a link”?
If you go to the site you will see you can't submit a link - When you click on a category, it takes you to a post!
This usually occurs only when using a custom permalink structure (like /%category%/%postname%/).
I have made the permalink /%postname%/
This is a .htaccess 404 error message and you should update your .htaccess file in the WP root directory.

An example for htaccess code to redirect to odlinks
You need an .htaccess file. The file will be create/modify by wordpress via the Permalink/mod-rewrite option.

Please edit the .htaccess file in the root folder of your Wordpress.
You use the default .htaccess file and modify the file as follow:
The redirect should look something like this

#RewriteRule . /index.php [L]
RewriteRule !^(classified|odlinks)/ /index.php [L]
RewriteRule odlinks/([^/\(\)]*)/?([^/\(\)]*)/?([^/\(\)]*)/? /index.php?pagename=odlinks&_action=$1&id=$2&parent =$3 [QSA,L,R,NS]
I don't have a .htaccess file in the mylink2 folder, how do I create one?

I hope someone can help me with these issues as I would love this site to be an active link directory again

Cheers
Viv

mistyone is offline   Reply With Quote
Old 03-16-2009, 11:26 PM   #2
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Default Re: .htaccess file "SHOULD HAVE" - "BUT DON'T KNOW HOW" :)

Can anyone help me, please

mistyone is offline   Reply With Quote
Old 03-16-2009, 11:50 PM   #3
Senior Warrior Member
War Room Member
 
Kay King's Avatar
 
Join Date: Sep 2004
Location: Gulf Coast, USA.
Posts: 15,143
Thanks: 3,712
Thanked 4,140 Times in 2,257 Posts
Default Re: .htaccess file "SHOULD HAVE" - "BUT DON'T KNOW HOW" :)

The .htaccess file may not say "htaccess" but may look like a Word doc though will show htacess if you check the title. Look in the root of WP and look for a file with no title that looks like a worddoc.

Two good explanations can be found at

Apache Tutorial: .htaccess files

Comprehensive guide to .htaccess- intro

kay
Kay King is offline   Reply With Quote
Old 03-17-2009, 12:05 AM   #4
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Post Re: .htaccess file "SHOULD HAVE" - "BUT DON'T KNOW HOW" :)

Quote:
Originally Posted by Kay King View Post
The .htaccess file may not say "htaccess" but may look like a Word doc though will show htacess if you check the title. Look in the root of WP and look for a file with no title that looks like a worddoc.

Two good explanations can be found at

Apache Tutorial: .htaccess files

Comprehensive guide to .htaccess- intro

kay
Thanks for your reply Kay, much appreciated

I will check out the resources you have shown me and see if I can't nut this out because this plugin should be a good alternative, seeing as I can't get a theme to do the job

Cheers
Viv

mistyone is offline   Reply With Quote
Old 03-19-2009, 12:51 AM   #5
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Post Re: .htaccess file "SHOULD HAVE" - "BUT DON'T KNOW HOW" :)

Quote:
Originally Posted by rafmandu View Post
Just a heads up, it's best to use notepad on the PC or Text Wrangler on the Mac or some other simple text editor like that rather than word to create the .htaccess file. Word tends to put a bunch of junk in the header of the file that may interfere with the functionality of the .htaccess file.
Hi there

Thanks for your advice. I had heard that and I do use notepad but I appreciate you making sure I know the best product to use

This sort of response from you is what is so great about this forum. It is all about sharing and caring

Cheers
Viv

mistyone is offline   Reply With Quote
Old 03-19-2009, 04:52 AM   #6
"the IM newbie"
War Room Member
 
iMerickz's Avatar
 
Join Date: Nov 2007
Location: Singapore
Posts: 254
Thanks: 28
Thanked 13 Times in 11 Posts
Default Re: .htaccess file "SHOULD HAVE" - "BUT DON'T KNOW HOW" :)

hmm.. i think by default when you create a wordpress blog, there should already be a .htaccess file in the root folder of your blog. this htaccess file will have some wordpress commands in it. pls check again.. if not, maybe you want to re install the WP blog again.
you can edit this file thru the file manager in the control panel of your hosting provider.
just name it .htaccess as the file name will do. using the notepad to edit will also do the job, just name it .htaccess and upload to the root directory.
but there should already be one when you create a WP blog, unless it is a static site, then maybe you need to create one.
hmm.. remember to tick the "Show Hidden Files (dotfiles)" check box in the file manager when you are viewing your files thru your control panel. these files are hidden files and you must tick to be able to view them!
i have troubles finding this file too initially but saw the check box and figure it out!
you should be able to locate the .htaccess file after this..

I'm spending too much time doing nothing.. :p
iMerickz is offline   Reply With Quote
Old 03-19-2009, 06:17 AM   #7
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Post Re: .htaccess file "SHOULD HAVE" - "BUT DON'T KNOW HOW" :)

Hi there

Thank you for your detailed response

I have the .htaccess file now and I have been able to edit it, in my CP, using the edit facility, which I am very pleased about.

Cheers
Viv

mistyone is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
but dont know how, file, htaccess, should have

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 07:01 AM.