ghimarketing
Forum Replies Created
-
Hi Phil,
Thank you and that would be much appreciated, and yes I would like to collect a list of all the bad IP addresses from other sites and import them in to your plugin in all other WP sites, keeping us all in a more advanced position in fighting the hackers!
I also think this should not be that difficult to implement as an option in to Wordfence and made available to your members?
I look forward to your update.
Kind regards
GaryForum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] align textareafor spaces
< br / > for line breaksForum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] align textareayou can use html by ticking the tick box.
to make spaces use <p> </p> and for line breaks use
hope this helps
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Add a URL in Messagesthere is a tick box for using html (Use HTML content type)
Tick the html box and use this code in your message box
https://www.yourdomain.comForum: Fixing WordPress
In reply to: Source index Page?if you look at the bottom of the blog your see the links View in: Mobile | Standard. I installed a plugin to convert the blog to a mobile view. These links only appear at the bottom of the page and want to have them showing at the top of the page as well.
When I look inside wp-content/themes/~Your Theme~/ through ftp I can only see wp-content/themes/~Your Theme~/ in /~Your Theme~/ directory I only have a default folder, classic folder and a index.php file.
In this index file is this:
<?php
// Silence is golden.
?>I think when looking though these I need to go in to the default folder but I still cant find the raw source Im looking for???
Regards
GaryForum: Fixing WordPress
In reply to: Source index Page?I want to edit the source page as it opens if poss?
https://www.italychiltons.co.uk/blog
Regards
GaryForum: Fixing WordPress
In reply to: Source index Page?The Google analytics code you say add to the footer.php, thats okay but which one as there are a few footer.php files in wordpress or does it not matter which one?
Thanks Gary
Forum: Fixing WordPress
In reply to: Source index Page?Yes it is the latter. What I am trying to find is the html page source of the blog landing page, so I can edit it in a html editor like frontpage
Regards
GaryForum: Fixing WordPress
In reply to: Source index Page?Thanks DigitalMcGrath, also not sure if you can help but I have a sub directory for my wordpress domain and have called it example https://www.mysite.com/blog
When the page https://www.mysite.com/blog opens normally it would be the index page that opens but not in wordpress.
Which file hold the blog index source for editing in this case?
Regards
GaryForum: Fixing WordPress
In reply to: Permalink and.access filesmacmanx
Thank but after doing some googeling I found a solution for Zeus Web Server.
Solution
1. You don’t need the .htaccess file at all.
2. Create a file in note pad and save it named: rewrite.script.txt
3. Enter all the script below in to the rewrite.script.txt file
4. Upload it to the root directory only, even if your using a sub directory for your wordpress files.
5. Once the file is in your servers root directory edit the file name by removing the .txt exstention, leaving only rewrite.script as the file name in the root directory of your server.And your done.
This is the script below you need to add to the rewrite.script file:
Regards
GaryRULE_0_START:
# Get the document root path and put value into the SCRATCH array.
# This is the server path not the web URL.
# e.g. /content/DesignerPlus/i/n/domain.co.uk/web/
map path into SCRATCH:DOCROOT from /# Get the URL without the domain.
# e.g. /test&colour=red
# e.g. /blog/2007/10/31/an-example-post/?color=red
set SCRATCH:ORIG_URL = %{URL}
set SCRATCH:REQUEST_URI = %{URL}# See if there are any queries in our URL.
match URL into $ with ^(.*)\?(.*)$
# If there are…
if matched then
# Set a var to path without the domain part.
# e.g. /blog/2007/10/31/an-example-post
set SCRATCH:REQUEST_URI = $1
# Set a var to the passed queries.
# e.g. colour=red
set SCRATCH:QUERY_STRING = $2
endif
RULE_0_END:RULE_1_START:
# This is setting a var to the server path and sub folders.
# e.g. /content/DesignerPlus/i/n/domain.co.uk/web//blog/2007/10/31/an-example-post
set SCRATCH:REQUEST_FILENAME = %{SCRATCH:DOCROOT}
set SCRATCH:REQUEST_FILENAME . %{SCRATCH:REQUEST_URI}# Check to see if the file exists.
look for file at %{SCRATCH:REQUEST_FILENAME}
if not exists then
# The file wasn’t found so is it a folder?
look for dir at %{SCRATCH:REQUEST_FILENAME}
if not exists then
# No folder either. So now check the URL for special hosting folders.
match SCRATCH:ORIG_URL into % with ^/webmail|^/tech_support|^/controlpanel
if matched then
# If a special folder was requested end the script.
goto END
else
# There were no files, folders or special folders so set the new URL.# — Sub directory ————————————————————-
# If the blog is in a sub directory…
# e.g. /blog/index.php/2007/10/31/an-example-post
match SCRATCH:REQUEST_URI into $ with ^/blog(.*)
if matched then
set URL = /blog/index.php$1
# — Top level —————————————————————–
# If the blog is in the top level of the site…
# e.g. /index.php/2007/10/31/an-example-post
else
set URL = /index.php%{SCRATCH:REQUEST_URI}
# If there is only a top level blog you can remove the
# match and surrounding if statements.
endif
# — —————————————————————————# Go to the next rule.
goto RULE_2_START
endif
endif
endif
# If files or folders were found end the rewrite script.
goto END
RULE_1_END:RULE_2_START:
# Check for queries in the requested URL.
match SCRATCH:ORIG_URL into % with \?(.*)$
if matched then
# If queries were found add them to the new URL.
# e.g. /index.php/2007/10/31/an-example-post/&colour=red
set URL = %{URL}&%{SCRATCH:QUERY_STRING}
endif# — Sub directory ————————————————————-
# If you only want to rewrite the sub directory uncomment this bit.
match SCRATCH:ORIG_URL into % with ^/blog
if matched then
# — Sub directory ends ——————————————————–# End the script.
goto END# — Sub directory ————————————————————-
endif
# — Sub directory ends ——————————————————–
RULE_2_END:Forum: Fixing WordPress
In reply to: Permalink and.access files.htaccess
Forum: Fixing WordPress
In reply to: Permalink and.access filesI’m not using the txt extension it was illustrated to show it was written in notepad.
The problem I have is after installing .access to my server my post links stopped working. My page links are okay so I think the .access need some script to run on zeus?
I may be completely wrong?