1000StartupHacks
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Href Link Added To 404.php Not WorkingSorry I thought you were using that function intentionally.
Oh, no. I was adding those lines and I simply copy pasted the previous line of code and it had that function. Lol.
It worked. Thanks for all your help @anevins. Much appreciated. 🙂
- This reply was modified 9 years, 5 months ago by 1000StartupHacks.
Forum: Fixing WordPress
In reply to: Href Link Added To 404.php Not WorkingSo what do I do? I don’t understand code. I hope it is possible to do.
Forum: Fixing WordPress
In reply to: Href Link Added To 404.php Not WorkingIt is not a free ww.wp.xz.cn theme. I am adding the complete
404.phpcode if it helps –<?php get_header(); ?> <div class="container"> <?php echo '<img src="https://www.1000startuphacks.com/wp-content/uploads/2016/12/404-hack-1000startuphacks-dot-com-1170x566.png" class="aligncenter" width="658" height="318" title="404 Hack" alt="404 Hack" /><br/><br/>'; ?> <div id="main"> <div class="error-page"> <h1>404 Hack</h1> <p><?php esc_html_e( 'It seems we couldn’t find what you’re looking for. Try using the search bar below.', 'thsh7' ); ?></p> <?php get_search_form(); ?><br/><br/> <p><?php esc_html_e( 'If you think you’re seeing this page in error, kindly send us an email [email protected] with the above URL.', 'thsh7' ); ?></p> <p><?php esc_html_e( 'Maybe you’re visiting a hack that has not been published yet?', 'thsh7' ); ?></p> <p><?php esc_html_e( 'For receiving new hacks by email, subscribe <a href="https://1000startuphacks.com/subscribe">here</a>.', 'thsh7' ); ?></p> </div> </div> </div> <?php get_footer(); ?>Forum: Fixing WordPress
In reply to: Href Link Added To 404.php Not WorkingI am using Notepad++ via ftp.
Forum: Fixing WordPress
In reply to: Redirect 1000 Links To One WordPress Page / URLSince I can’t wait for too long and there are chances of slowing down the site due to 1000 redirects at a time, modifying the
404.phppage of the theme (as suggested by Freddie) sounds logical. I hope that would be easy to do though.Thanks @fmixell and @bcworkz for your replies. I really appreciate your help. 🙂
Forum: Fixing WordPress
In reply to: Redirect 1000 Links To One WordPress Page / URLBut what about the posts that get published?
Can somebody please help out here?
- This reply was modified 9 years, 5 months ago by 1000StartupHacks.
- This reply was modified 9 years, 5 months ago by 1000StartupHacks.
Forum: Fixing WordPress
In reply to: Redirect 1000 Links To One WordPress Page / URLMod-rewrite supports regexp, so if all of your links really have the form “hacks-*” and no links you do NOT want redirected have such a form, then all redirects can be managed with one rule.
I am sorry but it’s a bit unclear to me, as to what you are trying to say.
Forum: Fixing WordPress
In reply to: Redirect 1000 Links To One WordPress Page / URLBut that would send any or all 404 visits to that page.