Cezar Ayran
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Multisite not workingHi there,
So I had to add a CNAME for all subdomains, change the A record as well of the extra domains once DNS wasn’t working properly… and now websites are UP and running… I few htaccess issue that I was able to fix to uploading a new one with the standard WP code.
Thank you for your help!
Forum: Networking WordPress
In reply to: Multisite not workingI’m totally lost with this multisite…
I just added a test: https://weblogin.flbestpa.com/test/wp-admin/
and when I try to open it it says: The page isn’t redirecting properly or in the homepage https://weblogin.flbestpa.com/test/ The theme directory “twentynineteen” does not exist.
…I also moved all WP files to /public_home instead of subdomain https://weblogin.flbestpa.com and I see this website https://sandra.flbestpublicadjusters.com in the list… I added an alias but it doesn’t work all alias are pointed to public_html
Forum: Fixing WordPress
In reply to: Syntax error, unexpectedI just used the auto-installation from HostGator … it worked with and OLD version of WP so PHP Version was 5.1 and the latest version requires a higher version… WP should accuse it instead of giving me that error.
Forum: Fixing WordPress
In reply to: Blog Categories going to HomepageAnyone? :/
Forum: Fixing WordPress
In reply to: Blog Categories going to HomepageHi there,
For your information. Those links are in my Post Category page under WP Admin. This is my htaccess in the View link. This category has 2 posts https://greenbergcosmeticsurgery.com/blog/category/medspa-specials/
# BEGIN WordPress
# The directives (lines) betweenBEGIN WordPress
andEND WordPress
are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<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
#GZIP
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</IfModule><IfModule mod_mime.c>
# Text
AddType text/css .css
AddType application/x-javascript .js
AddType text/html .html .htm
AddType text/richtext .rtf .rtx
AddType text/plain .txt
AddType text/xml .xml# Image
AddType image/gif .gif
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType image/png .png
AddType image/svg+xml .svg .svgz# Video
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType video/quicktime .mov .qt
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe# PDF
AddType application/pdf .pdf# Flash
AddType application/x-shockwave-flash .swf# Font
AddType application/x-font-ttf .ttf .ttc
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-otf .otf# Audio
AddType audio/mpeg .mp3 .m4a
AddType audio/ogg .ogg
AddType audio/wav .wav
AddType audio/wma .wma# Zip/Tar
AddType application/x-tar .tar
AddType application/x-gzip .gz .gzip
AddType application/zip .zip
</IfModule><IfModule mod_expires.c>
ExpiresActive On# Text
ExpiresByType text/css A31536000
ExpiresByType application/x-javascript A31536000
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType text/plain A3600
ExpiresByType text/xml A3600# Image
ExpiresByType image/gif A31536000
ExpiresByType image/x-icon A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType image/png A31536000
ExpiresByType image/svg+xml A31536000# Video
ExpiresByType video/asf A31536000
ExpiresByType video/avi A31536000
ExpiresByType video/quicktime A31536000
ExpiresByType video/mp4 A31536000
ExpiresByType video/mpeg A31536000# PDF
ExpiresByType application/pdf A31536000# Flash
ExpiresByType application/x-shockwave-flash A31536000# Font
ExpiresByType application/x-font-ttf A31536000
ExpiresByType application/vnd.ms-fontobject A31536000
ExpiresByType application/x-font-otf A31536000# Audio
ExpiresByType audio/mpeg A31536000
ExpiresByType audio/ogg A31536000
ExpiresByType audio/wav A31536000
ExpiresByType audio/wma A31536000# Zip/Tar
ExpiresByType application/x-tar A31536000
ExpiresByType application/x-gzip A31536000
ExpiresByType application/zip A31536000# Webfonts
ExpiresByType application/x-font-ttf “access plus 1 month”
ExpiresByType font/opentype “access plus 1 month”
ExpiresByType application/x-font-woff “access plus 1 month”
ExpiresByType image/svg+xml “access plus 1 month”
ExpiresByType application/vnd.ms-fontobject “access plus 1 month”<FilesMatch “\.(?i:css|js|htm|html|rtf|rtx|txt|xml|gif|ico|jpg|jpeg|jpe|png|svg|svgz|asf|asx|wax|wmv|wmx|avi|mov|qt|mp4|m4v|mpeg|mpg|mpe|pdf|swf|ttf|ttc|eot|otf|mp3|m4a|ogg|wav|wma|tar|gz|gzip|zip)$”>
<IfModule mod_headers.c>
Header set Cache-Control “public, must-revalidate, proxy-revalidate”
Header unset ETag
</IfModule>
</FilesMatch># php — BEGIN cPanel-generated handler, do not edit
# Set the “ea-php71” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php71 .php .php7 .phtml
</IfModule>
# php — END cPanel-generated handler, do not editForum: Fixing WordPress
In reply to: Changing blog post URLI found the solution:
'rewrite' => array('slug' => 'news', 'with_front' => false),
Thank you!
After updating the theme it worked again. Tks!
Yes.
Bellevue Version: 3.2.1Can you please confirm that this is the latest version of that theme https://themeforest.net/item/bellevue-hotel-bed-breakfast-booking-theme/12482898?s_rank=4 ?
Forum: Developing with WordPress
In reply to: Allowin external URL to send a post to a URLI also add the code below in my php file (the post is being sent using jQuery AJAX)
header("Access-Control-Allow-Origin: *");
Forum: Plugins
In reply to: [[Abandoned] PPress] Page not found for some rulesI found a solution… still weird but.. I just allowed everything to editor and then started blocking what I didn’t want and the Forum page showed up… it shouldn’t happen once Subscribers don’t have any “allow” rule and works fine…
Forum: Fixing WordPress
In reply to: Changin menu dropdownAwesome!! I’ll try it, thank you guys!!
Forum: Plugins
In reply to: [WooCommerce] Removing icon from menuIorro this is why this website is called a FORUM where people can ask questions to whatever they want and people who wants can answer them.
You’re not required to answer any post if you don’t want.
Forum: Plugins
In reply to: [WooCommerce] Removing icon from menuEx https://arkmain.elite03.com/
I removed it using css but I’d like to do it with functions.php file
Forum: Developing with WordPress
In reply to: Taxonomy with Page attributesGuys… I just found a solution using this plugin https://www.ads-software.com/plugins/advanced-custom-fields/
You can add fields to a taxonomy using it and then sort using
foreach(get_categories(array('taxonomy' => 'pt_menu_category', 'hide_empty' => true, 'parent' => $mainCat->cat_ID, 'meta_key' => 'order', 'orderby' => 'meta_value', 'order' => 'ASC')) as $subCat){
Forum: Developing with WordPress
In reply to: Taxonomy with Page attributesHi guys, tks.
But I still don’t know how I can add this field called “order or whatever” and add a number to each item of my taxonomy and then when I get those posts I can sort by this “order” field…