Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • It is an advertisement on your site that is doing it. To do a quick test in FireFox, get the free addon Ad Block Plus. It should block ads on your site by default.

    With the ads blocked, try leaving your site and it should close normally. Then disable ABP for your site so it will show the ads, reload, and try to leave. Whatever ad it is that is active again will give you that message asking if you want to leave.

    Edit: Just ran a quick test, specifically it is CPALead doing it.

    Thread Starter Daemus

    (@daemus)

    Thanks a ton Safirul.

    I spent hours combing through the backend, trying to figure out what plugin or setting was messing with it.

    I will probably spend the next few hours cursing at myself. At some point, I had put the page back into Draft status. I hit publish on it and now it displays fine.

    My apologies to everyone who took the time to help. I can’t believe I was so stupid with this. Thanks to you all for your help.

    Thread Starter Daemus

    (@daemus)

    Jonas, thanks again for replying. I developed it completely on the web server it is currently on. All files are pointing to the web, nothing local.

    Govpatel, I think I get what you are saying, but I am not completely sure, so I will try to give a little info here. Under Settings >> General I have WordPress address (URL) and Site address (URL) both pointing to https://articleaggregate.com

    Under Settings >> Reading, Front page displays >> A static page >> Front Page selected as “Home Page”. The actual page for Home Page has the Permalink set by default to the site url.

    Thread Starter Daemus

    (@daemus)

    Thanks for taking a look Jonas.

    I am having absolutely no problem with the site. I can access everything fine.

    I can’t seem to replicate the problem that the person I was having taking a look at it has. He gets a 404 error on the front page only, he can access everything else with absolutely no problem.

    He had looked at it before and did not have any problems, only this morning has this come up. I disabled the plugins I installed since he last looked at it and he still had the problems. I am at a complete loss as to why he gets a 404 on the front page (and front page only).

    Jonas, when you looked at it, did you encounter a 404 on the front page, or did it work fine for you?

    Glad to hear you got your problem figured out!

    If all is well, please mark this as “resolved” so when others search for the same type of problem, they can quickly see your post and hopefully use your information to help them.

    My best guess would be a lack of mod_rewrite. If you don’t know what that is, contact your web host. Their support staff should be able to tell you whether you have it available or not. If your server doesn’t have it, hopefully that is your problem and they can get it set up for you so things start working.

    Using_Permalinks

    Pretty permalinks are available under:

    Apache web server with the mod_rewrite module
    Microsoft IIS 7+ web server with the URL Rewrite 1.1+ module and PHP 5 running as FastCGI
    Microsoft IIS 6+ using ASAPI_Rewrite
    Lighttpd using a 404 handler or mod_rewrite

    You should also make sure that you have a .htaccess file and that WordPress has permissions to write to it.

    The following should be in your .htaccess file, as of 3.0+

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Re-read the page that esmi linked.

    Specifically, focus on the Javascript in Posts section. Take special note of the need to create a separate Javascript file where you have the script that you want to run.

    Then, in your page or post (through the WP HTML editor), you need to combine the call to both the file and the Javascript itself.

    If you just want Javascript that will run on your site in general and don’t need it limited to a specific page or post, you can just insert it normally into the site code by editing your active theme file(s).

Viewing 7 replies - 16 through 22 (of 22 total)