Jump to content
Killersites Forums

dakat

Member
  • Posts

    9
  • Joined

  • Last visited

dakat's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello. I just reinstalled wordpress and noticed the following problem: When my permalink is at default: http://localhost/wordpress/?p=123, I am able to view the site [http://localhost/wordpress/] and successfully click the tabs [about, author, etc' ...]. However, when I change the permalink to any other setting, I am still able to go into the main site [http://localhost/wordpress/], but the minute I click any tab, it comes back with an error: Not Found The requested URL /wordpress/about/ was not found on this server. This is my .htaccess [which was created automatically by WordPress]: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPress Any suggestions?
  2. I think I figured out the problem, but I did not figured out the solution, and this is where I need assistance. I erased wordpress and the DB and all the new site that Jon was teaching. I reinstalled wordpress. This is the problem I noticed: When my permalink is at default: http://localhost/wordpress/?p=123, I am able to view the site [http://localhost/wordpress/] and successfully click the tabs [about, author, etc' ...]. However, when I change the permalink to any other setting, I am still able to go into the main site [http://localhost/wordpress/], but the minute I click any tab, it comes back with an error: Not Found The requested URL /wordpress/about/ was not found on this server. This is the same error I originally complained about! I went through Stefan's class 'word press config part 3' [which is free]: "http://www.killersites.com/wordpress/videos/config-wordpress-29-part3.php", and after ~6min, he says there that in order for the permalinks to work, a file by the name of .htaccess needs to be created and edited. This is my .htaccess [which was created automatically by WordPress]: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPress Any suggestions of what do I need to do in the file (or elsewhere) to fix this problem? Thank you.
  3. I would guess that it is some sort of a Wordpress settings issue. In the class, Jon also gets my error, but he shows how to fix it through Permalinks. In my case, that did not fix it, so there is probably another settings fix somewhere in wordpress. I just do not know which one it is. If someone can help me that would be great.
  4. I copied your code and I get the same problem. If I go to: "/localhost/wordpress" I can see the content [just as with the code Jon provided]. However, if I go to "/localhost/wordpress/blablabla", I get an error that the page can not be displayed, instead of "Sorry I can't find what you are looking for". I am thinking it is either a setting problem [in Wordpress (or maybe Firefox)] or maybe it is because I am using WAMP [windows based sever] and not MAMP [Mac based server], which is what Jon is showing and using in class. In any case, the loop never goes to the 'else statement' for whatever reason. It only goes to the 'if statement'.
  5. The file was index.php [as per the class]. It is in "building a simple WordPress theme" by Jon Lebensold, part 4, after 6m:19s.
  6. When I type a URL to a page that doesn't exist, I should get a "Not Found" page. According to the code (and the class in the DVD), I should get a Wordpress theme page with a "Not Found" header and "Sorry I can't find what you are looking for" just below that. I keep getting "The requested URL /wordpress/dsfsd was not found on this server". In the class, it does not work for Jon as well, until he fixes the permalink. I did that, but I still get the same. What am I missing?
  7. I fixed the divs, but I am still getting the same error: "Not Found The requested URL /wordpress/dsfsd was not found on this server".
  8. This is what the class tells us to put (but as I wrote, it doesn't work): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS feed" href="<?php bloginfo('rss2_url');?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" /> <?php wp_head(); ?> </head> <body> <div class="canvas" <div class="header" <h1> <?php bloginfo('name'); ?> </h1> <h2> <?php bloginfo('description'); ?> </h2> </div> <div class="content" <?php if (have_posts()): ?> <h2>Have posts</h2> <?php else: ?> <h2>Not Found</h2> <p>Sorry I can't find what you are looking for</p> <?php endif; ?> </div> </div> </body> </html>
  9. Hello, I purchased the class "building a simple WordPress theme" by Jon Lebensold. I was going by order of the class. I am now in part 4: "The wordPress loop". Jon teaches here in 6:19 [after 6min and 19sec] how to avoid the message: "The requested URL "/wordpress/<anything>" was not found on this server". If I type in the URL "http://localhost/wordpress", I get the page to display the correct content [as per Jon's class]. However, if I type: "http://localhost/wordpress/<anything>", I get the error that the page can not be found even though I wrote all the code Jon teaches us including changing the permalink settings [according to what Jon tought]. I even took the index.php that came with the class and replaced with mine. Still same error. I have the latest wordpress and I am using WAMP. Everything was working according to the class until this point. Please let me know how to fix this and have the ability to avoid this error. Thank you, Danny
×
×
  • Create New...